#ifndef STORAGE_H
#define STORAGE_H

#include "person.h"
#include <QVector>
#include <QFile>

class Storage
{
public:
    Storage();
    static QVector<Person> load(QString fileName);
    static void save(QVector<Person> const & people, QString filename);
private:
    static void writeStringToFile(QFile & file, QString const & string);
};

#endif // STORAGE_H
